/**
 * @file cfgym/103389/a/main.cpp
 * @brief
 * @see
 * @author Ruiming Guo (guoruiming@stu.scu.edu.cn)
 * @copyright 2022
 * @date 2022/5/15 13:11:29
 **/

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
int n, x, y;
const int N = 20;
int k[N];
int m;
int p[N];
int main() {
  // High rating and good luck!
  cin >> n >> x >> y;
  for (int i = 1; i <= n; ++i) cin >> k[i];
  cin >> m;
  for (int i = 1; i <= m; ++i) cin >> p[i];

  bool toleft = x > y;
  if ((toleft && x - m <= 0) || (!toleft && x + m > n)) {
    cout << "Wrong\n";
    return 0;
  }
  bool left = (x - m > 0), right = (x + m <= n);
  for (int i = 1; i <= m; ++i) {
    if (x + i <= n && k[x + i] != p[i]) {
      right = false;
    }
    if (x - i >= 1 && k[x - i] != p[i]) {
      left = false;
    }
  }

  if (toleft) {
    if (left) {
      if (!right)
        cout << "Right\n";
      else
        cout << "Unsure\n";
    } else
      cout << "Wrong\n";
  } else {
    if (right) {
      if (!left)
        cout << "Right\n";
      else
        cout << "Unsure\n";
    } else
      cout << "Wrong\n";
  }

  return 0;
}
